﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.AttendanceManagement
{
    public class Productionotemporary
    {
        /// <summary>
        /// 统计(总计算后)
        /// </summary>
        public int countss { get; set; }

        /// <summary>
        /// 房地产(计算后)
        /// </summary>
        public int fangs { get; set; }

        /// <summary>
        /// 市政(计算后)
        /// </summary>
        public int shis { get; set; }

        /// <summary>
        /// 医院(计算后)
        /// </summary>
        public int yuans { get; set; }

        /// <summary>
        /// 电力(计算后)
        /// </summary>
        public int dians { get; set; }

        /// <summary>
        /// 统计(计算前)
        /// </summary>
        public int counts { get; set; }

        /// <summary>
        /// 统计(计算后)
        /// </summary>
        public int countsx { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public string ShiJian { get; set; }

        /// <summary>
        /// 房地产(临时表一)
        /// </summary>
        public int fang { get; set; }

        /// <summary>
        /// 市政(临时表一)
        /// </summary>
        public int shi { get; set; }

        /// <summary>
        /// 医院(临时表一)
        /// </summary>
        public int yuan { get; set; }

        /// <summary>
        /// 电力(临时表一)
        /// </summary>
        public int dian { get; set; }

        /// <summary>
        /// 房地产(临时表二)
        /// </summary>

        /// <summary>
        /// 市政(临时表二)
        /// </summary>
        public int shix { get; set; }

        /// <summary>
        /// 医院(临时表二)
        /// </summary>
        public int yuanx { get; set; }

        /// <summary>
        /// 电力(临时表二)
        /// </summary>
        public int dianx { get; set; }

        /// <summary>
        /// 做较之前
        /// </summary>
        public int Qian { get; set; }

        /// <summary>
        /// 被作比较
        /// </summary>
        public int Hou { get; set; } 

        /// <summary>
        /// 同比增减率
        /// </summary>
        public decimal SuanNian { get; set; }

        /// <summary>
        /// 同比增减
        /// </summary>
        public int Suan { get; set; }

        /// <summary>
        /// 百分比
        /// </summary>
        public decimal BaiFen { get; set; }

        /// <summary>
        /// 年度总额
        /// </summary>
        public string Zonge { get; set; }

        /// <summary>
        /// 月度总额
        /// </summary>
        public string YueZong { get; set; }

        /// <summary>
        /// 年度目标
        /// </summary>
        public string BuBiao { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 转换后的百分比
        /// </summary>
        public string BaiFenZhi 
        {
            get 
            {
               return BaiFen.ToString("0")+"%";
            }
            set { }
        }

        /// <summary>
        /// 转换后的百分比
        /// </summary>
        public string SuanNians
        {
            get
            {
                return SuanNian.ToString("0") + "%";
            }
            set { }
        }

        /// <summary>
        /// 模拟数据字段
        /// </summary>
        public string Ling
        {
            get 
            {
                return Ling = "0%";
            }
            set { }
        }
    }
}
